package com.melodyframe.common.tools.convert;

public abstract class AbstractConverter<T> implements Converter<T> {
	@Override
	public boolean isDeclared(Class<?> classType) {
		for (Class<?> supportClass : this.getSupports()) {
			if (classType.isAssignableFrom(supportClass)) {
				return true;
			}
		}
		return false;
	}
}
